/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Thread;

import java.util.logging.Level;
import java.util.logging.Logger;
import vectors.VectorIn;

/**
 *
 * @author Кирилл
 */
public class ThreadForReadRunnable implements Runnable {
       
    private Keeper keep;

    public ThreadForReadRunnable(Keeper keep) throws CloneNotSupportedException {
        this.keep = keep;
    }
   
    public void run(){
        try {
            this.keep.read();
        } catch (InterruptedException ex) {
            Logger.getLogger(ThreadForReadRunnable.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
